package com.appleyk.model.hras;

import lombok.Data;
import org.neo4j.ogm.annotation.NodeEntity;

@Data
@NodeEntity
public class WorkHistory {

    private Long id;
    private Integer experienceId;
    private String workCompanyName;
    private String workPositionName;
    private String startTime;
    private String endTime;
    private String experienceDesc;

    public String getStr(){
        return startTime + " 到 " + endTime + "任职于 " + workCompanyName + ", 担任" + workPositionName + "职位，主要工作内容为： " + experienceDesc +"。";
    }
}
